package com.ly.heart.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ly.heart.domain.SurveyCompetitorsEntity;
import org.apache.ibatis.annotations.Mapper;

/**
 * 勘测后竞争对手管理Service接口
 *
 * @author wutao
 * @date 2024-05-22
 */
@Mapper
public interface ISurveyCompetitorsService extends IService<SurveyCompetitorsEntity> {
    /**
     * 查询勘测后竞争对手管理
     *
     * @param id 勘测后竞争对手管理ID
     * @return 勘测后竞争对手管理
     */
    SurveyCompetitorsEntity selectErpSurveyCompetitorsInfoById ( String id );

    /**
     * 查询勘测后竞争对手管理列表
     *
     * @param erpSurveyCompetitorsInfo 勘测后竞争对手管理
     * @return 勘测后竞争对手管理集合
     */
    List<SurveyCompetitorsEntity> selectErpSurveyCompetitorsInfoList ( SurveyCompetitorsEntity erpSurveyCompetitorsInfo );

    /**
     * 新增勘测后竞争对手管理
     *
     * @param erpSurveyCompetitorsInfo 勘测后竞争对手管理
     * @return 结果
     */
    int insertErpSurveyCompetitorsInfo ( SurveyCompetitorsEntity erpSurveyCompetitorsInfo );

    /**
     * 修改勘测后竞争对手管理
     *
     * @param erpSurveyCompetitorsInfo 勘测后竞争对手管理
     * @return 结果
     */
    int updateErpSurveyCompetitorsInfo ( SurveyCompetitorsEntity erpSurveyCompetitorsInfo );

    /**
     * 批量删除勘测后竞争对手管理
     *
     * @param ids 需要删除的勘测后竞争对手管理ID
     * @return 结果
     */
    int deleteErpSurveyCompetitorsInfoByIds ( String[] ids );

    /**
     * 删除勘测后竞争对手管理信息
     *
     * @param id 勘测后竞争对手管理ID
     * @return 结果
     */
    int deleteErpSurveyCompetitorsInfoById ( String id );
}
